<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Article - WCIF.CN</title>
<link rel="stylesheet" href='<c:url value="/resources/scripts/operamasks-ui-1.0/css/default/om-default.css"/>' />
<link rel="stylesheet" href='<c:url value="/resources/themes/cms/common.css"/>' />
<script type="text/javascript" src='<c:url value="/resources/scripts/jquery.min.js"/>'></script>
<script src='<c:url value="/resources/scripts/operamasks-ui-1.0/js/operamasks-ui.min.js"/>'></script>

<!-- view_source_begin -->
<script type="text/javascript" src='../resources/scripts/ueditor-1.2.0/editor_config.js'></script>
<script type="text/javascript" src='../resources/scripts/ueditor-1.2.0/editor_all_min.js'></script>
<link rel="stylesheet" href='../resources/scripts/ueditor-1.2.0/themes/default/ueditor.css'/>
<style type="text/css">
    .toolbar { padding: 12px 0 5px;text-align: center; }
</style>
<script type="text/javascript">
</script>
<!-- view_source_end -->
</head>
<body>
<center>
	<h2>Add Article</h2>
	
	<form id="myForm" action='<c:url value="/article/add"/>' method="post">
   		<script type="text/plain" id="myEditor">填写文章内容</script>
   		<script type="text/javascript">
		    var editor = new baidu.editor.ui.Editor({
		        textarea:'content'
		    });
		    editor.render("myEditor");
		</script>
	    <div class="toolbar">
            <button id="submit" type="submit">提交</button> 
            <button id="reset" type="reset">重置</button>
        </div>
	</form>
	
</center>
</body>
</html>